package com.work.rcj.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.work.rcj.entity.OldPeople;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.work.rcj.pojo.dto.OldPeopleDto;
import com.work.rcj.pojo.vo.OldPeopleVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author rcj
 * @since 2022-02-27
 */
public interface OldPeopleMapper extends BaseMapper<OldPeople> {

    List<OldPeopleVo> oldPeopleList(IPage<OldPeopleVo> page, @Param("t")OldPeopleDto dto);
}
